Photonic_Plugin\Core\Photonic D

Total Complexity 304
Dependencies 9
Dependents 20
Total lines 1,414
Lines of code 1,088
Logical lines of code 604
Comment lines 144
Methods 43
Properties 7

Methods 43

Method Rating Maintainability Complexity Lines of code
get_localized_js_variables()
D
28
50 91
conditionally_add_scripts()
D
26
42 124
__construct()
B
31 13 121
get_bg_css()
B
37 16 74
get_gallery_images()
B
43 17 44
save_token_in_options()
A
43 13 46
display_level_2_contents()
A
40 11 58
add_script_type()
A
53 13 21
get_border_css()
A
45 9 44
native_gallery_attributes()
A
45 9 37
load_more()
A
50 9 26
enqueue_lightbox_styles()
A
46 8 37
modify_gallery()
A
55 9 20
always_add_styles()
A
51 8 23
build_edge_array()
A
54 8 21
delete_token_from_options()
S
57 7 15
get_lazy_load_button()
S
48 5 32
generate_css()
S
48 4 33
add_admin_menu()
S
56 4 16
helper_shortcode_more()
S
58 4 15
render_block()
S
60 4 14
helper_shortcode()
S
61 4 11
http()
S
55 3 20
display_level_3_contents()
S
55 3 18
save_provider_authentication()
S
62 3 11
add_gutenberg_support()
S
60 2 15
dismiss_warning()
S
62 3 10
admin_init()
S
64 3 8
enqueue_widget_scripts()
S
59 2 12
log()
S
73 2 5
curl_timeout()
S
74 2 4
localize_variables_once()
S
67 2 8
body_class()
S
71 2 6
load_widget()
S
76 1 4
monitor_token_validity()
S
76 1 4
lazy_load()
S
65 1 8
obtain_token()
S
71 1 6
doc_link()
S
76 1 3
enable_translations()
S
79 1 3
invoke_helper()
S
73 1 5
add_extensions()
S
74 1 5
get_version()
S
78 1 3
safe_styles()
S
69 1 7